﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F05 RID: 3845
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueLineupInfo : IMessage<RogueLineupInfo>, IMessage, IEquatable<RogueLineupInfo>, IDeepCloneable<RogueLineupInfo>, IBufferMessage
	{
		// Token: 0x170030D8 RID: 12504
		// (get) Token: 0x0600AC79 RID: 44153 RVA: 0x001D28D3 File Offset: 0x001D0AD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueLineupInfo> Parser
		{
			get
			{
				return RogueLineupInfo._parser;
			}
		}

		// Token: 0x170030D9 RID: 12505
		// (get) Token: 0x0600AC7A RID: 44154 RVA: 0x001D28DA File Offset: 0x001D0ADA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueLineupInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030DA RID: 12506
		// (get) Token: 0x0600AC7B RID: 44155 RVA: 0x001D28EC File Offset: 0x001D0AEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueLineupInfo.Descriptor;
			}
		}

		// Token: 0x0600AC7C RID: 44156 RVA: 0x001D28F3 File Offset: 0x001D0AF3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueLineupInfo()
		{
		}

		// Token: 0x0600AC7D RID: 44157 RVA: 0x001D291C File Offset: 0x001D0B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueLineupInfo(RogueLineupInfo other) : this()
		{
			this.trialAvatarIdList_ = other.trialAvatarIdList_.Clone();
			this.baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
			this.kACBNGFCAOG_ = other.kACBNGFCAOG_.Clone();
			this.reviveInfo_ = ((other.reviveInfo_ != null) ? other.reviveInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600AC7E RID: 44158 RVA: 0x001D298F File Offset: 0x001D0B8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueLineupInfo Clone()
		{
			return new RogueLineupInfo(this);
		}

		// Token: 0x170030DB RID: 12507
		// (get) Token: 0x0600AC7F RID: 44159 RVA: 0x001D2997 File Offset: 0x001D0B97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> TrialAvatarIdList
		{
			get
			{
				return this.trialAvatarIdList_;
			}
		}

		// Token: 0x170030DC RID: 12508
		// (get) Token: 0x0600AC80 RID: 44160 RVA: 0x001D299F File Offset: 0x001D0B9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BaseAvatarIdList
		{
			get
			{
				return this.baseAvatarIdList_;
			}
		}

		// Token: 0x170030DD RID: 12509
		// (get) Token: 0x0600AC81 RID: 44161 RVA: 0x001D29A7 File Offset: 0x001D0BA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> KACBNGFCAOG
		{
			get
			{
				return this.kACBNGFCAOG_;
			}
		}

		// Token: 0x170030DE RID: 12510
		// (get) Token: 0x0600AC82 RID: 44162 RVA: 0x001D29AF File Offset: 0x001D0BAF
		// (set) Token: 0x0600AC83 RID: 44163 RVA: 0x001D29B7 File Offset: 0x001D0BB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReviveInfo ReviveInfo
		{
			get
			{
				return this.reviveInfo_;
			}
			set
			{
				this.reviveInfo_ = value;
			}
		}

		// Token: 0x0600AC84 RID: 44164 RVA: 0x001D29C0 File Offset: 0x001D0BC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueLineupInfo);
		}

		// Token: 0x0600AC85 RID: 44165 RVA: 0x001D29D0 File Offset: 0x001D0BD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueLineupInfo other)
		{
			return other != null && (other == this || (this.trialAvatarIdList_.Equals(other.trialAvatarIdList_) && this.baseAvatarIdList_.Equals(other.baseAvatarIdList_) && this.kACBNGFCAOG_.Equals(other.kACBNGFCAOG_) && object.Equals(this.ReviveInfo, other.ReviveInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600AC86 RID: 44166 RVA: 0x001D2A50 File Offset: 0x001D0C50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.trialAvatarIdList_.GetHashCode();
			num ^= this.baseAvatarIdList_.GetHashCode();
			num ^= this.kACBNGFCAOG_.GetHashCode();
			if (this.reviveInfo_ != null)
			{
				num ^= this.ReviveInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600AC87 RID: 44167 RVA: 0x001D2AB6 File Offset: 0x001D0CB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600AC88 RID: 44168 RVA: 0x001D2ABE File Offset: 0x001D0CBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600AC89 RID: 44169 RVA: 0x001D2AC8 File Offset: 0x001D0CC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.reviveInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.ReviveInfo);
			}
			this.kACBNGFCAOG_.WriteTo(ref output, RogueLineupInfo._repeated_kACBNGFCAOG_codec);
			this.baseAvatarIdList_.WriteTo(ref output, RogueLineupInfo._repeated_baseAvatarIdList_codec);
			this.trialAvatarIdList_.WriteTo(ref output, RogueLineupInfo._repeated_trialAvatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600AC8A RID: 44170 RVA: 0x001D2B38 File Offset: 0x001D0D38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.trialAvatarIdList_.CalculateSize(RogueLineupInfo._repeated_trialAvatarIdList_codec);
			num += this.baseAvatarIdList_.CalculateSize(RogueLineupInfo._repeated_baseAvatarIdList_codec);
			num += this.kACBNGFCAOG_.CalculateSize(RogueLineupInfo._repeated_kACBNGFCAOG_codec);
			if (this.reviveInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ReviveInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600AC8B RID: 44171 RVA: 0x001D2BB0 File Offset: 0x001D0DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueLineupInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.trialAvatarIdList_.Add(other.trialAvatarIdList_);
			this.baseAvatarIdList_.Add(other.baseAvatarIdList_);
			this.kACBNGFCAOG_.Add(other.kACBNGFCAOG_);
			if (other.reviveInfo_ != null)
			{
				if (this.reviveInfo_ == null)
				{
					this.ReviveInfo = new RogueReviveInfo();
				}
				this.ReviveInfo.MergeFrom(other.ReviveInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AC8C RID: 44172 RVA: 0x001D2C37 File Offset: 0x001D0E37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AC8D RID: 44173 RVA: 0x001D2C40 File Offset: 0x001D0E40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 98U)
				{
					if (num == 34U)
					{
						if (this.reviveInfo_ == null)
						{
							this.ReviveInfo = new RogueReviveInfo();
						}
						input.ReadMessage(this.ReviveInfo);
						continue;
					}
					if (num == 96U || num == 98U)
					{
						this.kACBNGFCAOG_.AddEntriesFrom(ref input, RogueLineupInfo._repeated_kACBNGFCAOG_codec);
						continue;
					}
				}
				else if (num <= 106U)
				{
					if (num == 104U || num == 106U)
					{
						this.baseAvatarIdList_.AddEntriesFrom(ref input, RogueLineupInfo._repeated_baseAvatarIdList_codec);
						continue;
					}
				}
				else if (num == 112U || num == 114U)
				{
					this.trialAvatarIdList_.AddEntriesFrom(ref input, RogueLineupInfo._repeated_trialAvatarIdList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040045FF RID: 17919
		private static readonly MessageParser<RogueLineupInfo> _parser = new MessageParser<RogueLineupInfo>(() => new RogueLineupInfo());

		// Token: 0x04004600 RID: 17920
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004601 RID: 17921
		public const int TrialAvatarIdListFieldNumber = 14;

		// Token: 0x04004602 RID: 17922
		private static readonly FieldCodec<uint> _repeated_trialAvatarIdList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x04004603 RID: 17923
		private readonly RepeatedField<uint> trialAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04004604 RID: 17924
		public const int BaseAvatarIdListFieldNumber = 13;

		// Token: 0x04004605 RID: 17925
		private static readonly FieldCodec<uint> _repeated_baseAvatarIdList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x04004606 RID: 17926
		private readonly RepeatedField<uint> baseAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04004607 RID: 17927
		public const int KACBNGFCAOGFieldNumber = 12;

		// Token: 0x04004608 RID: 17928
		private static readonly FieldCodec<uint> _repeated_kACBNGFCAOG_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04004609 RID: 17929
		private readonly RepeatedField<uint> kACBNGFCAOG_ = new RepeatedField<uint>();

		// Token: 0x0400460A RID: 17930
		public const int ReviveInfoFieldNumber = 4;

		// Token: 0x0400460B RID: 17931
		private RogueReviveInfo reviveInfo_;
	}
}
